package Iterator.fromKanYun;

public interface Collection {

    public Iterator iterator();

    /**取得集合中某个元素*/
    public Object get(int i);

    /**取得集合大小*/
    public int size();
}
